<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:substituteby="template::docHead(#{system.name},'权限管理')">
</head>
<body>
<script type="text/javascript" th:substituteby="system/authorization/authorization.js::js"></script>
<nav th:replace="template::nav"></nav>
<div class="container-fluid">
    <div class="row">
        <div class="col-sm-3 col-md-2 sidebar">
            <div id="tree"></div>
        </div>
        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">
            <ol class="breadcrumb">
                <li>系统设置</li>
                <li><a th:href="@{/system/authorization}">权限管理</a></li>
            </ol>
            <h2 class="sub-header">权限管理</h2>

            <div class="row">
                <div class="col-sm-6 col-md-4">
                    <div class="thumbnail">
                        <div class="caption">
                            <h3>用户管理</h3>

                            <p>用户管理中可以对用户进行添加、修改、删除和查询。并给用户分配角色。每个角色拥有不同的权限。</p>

                            <p><a th:href="@{/system/authorization/users}" class="btn btn-primary" role="button">进&nbsp;&nbsp;入</a></p>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6 col-md-4">
                    <div class="thumbnail">
                        <div class="caption">
                            <h3>角色管理</h3>

                            <p>系统角色在这里可以添加、删除、修改和查询。每个角色拥有1个权限，权限控制一定的访问范围。</p>

                            <p><a th:href="@{/system/authorization/roles/query}" class="btn btn-primary" role="button">进&nbsp;&nbsp;入</a></p>
                        </div>
                    </div>
                </div>
                <div class="col-sm-6 col-md-4">
                    <div class="thumbnail">
                        <div class="caption">
                            <h3>授权管理</h3>

                            <p>在授权管理中，我们可以定义系统权限。系统权限将控制用户能够访问的内容。</p>

                            <p><a th:href="@{/system/authorization/perms/query}" class="btn btn-primary" role="button">进&nbsp;&nbsp;入</a></p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html>
